package com.kjtpay.design_pattern.command;

/**
 * 命令抽象父类
 */
abstract class Command {
    public String name = "未定义";
    protected Barbecue receiver;
    Command(Barbecue receiver) {
        this.receiver = receiver;
    }

    abstract String executeCommand();
}
